package com.cjl.designpattern.singleton.init;

public class SingleEhan {
    private static SingleEhan singleEhan = new SingleEhan();

    private SingleEhan(){

    }

    public static SingleEhan getInstance(){
        return singleEhan;
    }
}


//kotlin
//单例
//object Res{
//        }


//decompile
//public final class Res {
//    @NotNull
//    public static final Res INSTANCE;
//
//    private Res() {
//    }
//
//    static {
//        Res var0 = new Res();
//        INSTANCE = var0;
//    }
//}